package com.atde._05_behavioral_design_patterns.command.remotecontrol;


/**
 * @BelongsProject: hsp_java_design_mode
 * @BelongsPackage: com.atde._05_behavioral_design_patterns.command.remotecontrol
 * @Author: Del
 * @CreateTime: 2025-06-25  20:02
 * @Description: 命令模式：抽象命令类
 * @Version: 1.0
 */
public interface Command {

    // 执行动作
    void execute();
    // 撤销动作
    void undo();

}
